{include file="public/head"}
    <body>
    <div class="x-body">
      <form  class="lotus-nav" >

            <button type="button" class="layui-btn  layui-btn-sm"
            onclick="x_admin_show('添加权限','add.html')">
               添加
            </button>

            <span class="x-right"><button onclick="javascript:location.reload()" class="layui-btn-default "><i class="layui-icon layui-icon-refresh"></i></button></span>

       </form>

    <table class="layui-table">
        <thead>
          <tr>
            <th>ID</th>
            <th>权限名称</th>
            <th>操作</th>
        </thead>
        <tbody>

        {volist name="list" id="vo"}
        	<tr>
	            <td>{$vo.id}</td>
	            <td>{$vo.role_name}</td>
	            <td>
	                <button class="layui-btn layui-btn-xs" onclick="x_admin_show('编辑权限','edit.html?id={$vo.id}')">编辑</button>
	             	<!--<button onclick="delUser(this,'{$vo.id}')" class="layui-btn layui-btn-xs layui-btn-danger">删除</button>-->
	           </td>
	        </tr>
        {/volist}

        </tbody>
      </table>
    </div>
</body>
{include file="public/foot"}
